class TaggedBuilder < ActionView::Helpers::FormBuilder
  def custome_text_field(label,message=nil,*args)
    @message = message
    unless @message
      @message=label.to_s.humanize
    end
    @template.content_tag(:div,
        @template.content_tag(:label,@message,:for=>"#{@object_name}_#{label}")+
        text_field(label,*args),:class=>"fields text_fields"
    )
  end
end